<?php
$eMail = trim(isset($_POST['eMail']) ? absolutelyEscapeString($_POST['eMail']) : ''); 
$login = trim(isset($_POST['login']) ? absolutelyEscapeString($_POST['login']) : ''); 
$save =  isset($_POST['save']) ? true : false;
$pass = isset($_POST['password']) ? absolutelyEscapeString($_POST['password']) : '';
$md5pass = md5($pass);
try{
  $objSession->logIn($login, $md5pass, $save);
}		
catch(Exception $ex) {
	User_User::setUserMessage($ex->getMessage(), -1);
}	
?>